# -*- coding: utf-8 -*-

"""
京东配送API SDK for Python

该SDK提供了便捷的方式来集成京东配送服务API，包括：
- 申请成为配送商
- 创建配送订单
- 查询订单状态
- 查询骑手位置
- 订单取消和催单
- 等等

基本用法:
    >>> from jingdong_api_sdk import JingdongApiSDK
    >>> sdk = JingdongApiSDK(
    ...     app_key='your_app_key',
    ...     app_secret='your_app_secret',
    ...     merchant_no='your_merchant_no',
    ...     sandbox_mode=True
    ... )
    >>> result = sdk.test_connection()
    >>> print(result.success)
    True
"""

__version__ = "1.0.0"
__author__ = "林生"
__email__ = "1091800631@qq.com"

from .api import JingdongApiSDK
from .models import (
    ApiConfig,
    ApiResult, 
    OrderData,
    MerchantInfo
)

__all__ = [
    'JingdongApiSDK',
    'ApiConfig',
    'ApiResult',
    'OrderData', 
    'MerchantInfo'
]
